<template>
  <div class="screenshot-container">
    <h2>测试截图</h2>
    <div class="image-wrapper">
      <!-- 图片1 -->
      <img
        src="../image/1.png"
        alt="测试图片1"
        class="preview-image"
      />
      <!-- 图片2 -->
      <img
        src="../image/2.png"
        alt="测试图片2"
        class="preview-image"
      />
    </div>
  </div>
</template>

<style scoped>
.screenshot-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

h2 {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  color: #4b566b;
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.preview-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.preview-image:hover {
  transform: scale(1.02);
  filter: brightness(1.05) saturate(1.1);
}
</style>